<?php
$node_id = $this->get_data('node_id');
$node_nav = m('node')->get_node_nav($this->get_data('node_id'));
$_parent_id = isset($node_nav[1]) ? $node_nav[1]['id'] : false;
$_selected_node_id = isset($node_nav[2]) ? $node_nav[2]['id'] : false;


?>
<div id="left_bar">
<div class="left_news">
<h1>Latest News</h1>
<?php if ($_parent_id) m('node')->block_menu($_parent_id, $_selected_node_id, 0, 6, 'news')->display();?>
</div>
</div>
<div id="main_bar">
<div style="margin: 36px;">
<div id="nav">
    <?php m('node')->block_node_nav($node_id)->display();?>
</div>
<div id="article">
<h1><?php $this->write('caption');?></h1>
<label class="time_span"><?php echo date("F j, Y", $this->get_data('published'));?></label>
<div class="content"><?php $this->write('content');?></div>
</div>
</div>
</div>    <div class="clear"></div>